[SPARK-20814][mesos] Restore support for spark.executor.extraClassPath.#18037
[SPARK-20814][mesos] Restore support for spark.executor.extraClassPath.#18037vanzin wants to merge 2 commits intoapache:masterfrom
Conversation
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually.
|
Test build #77106 has finished for PR 18037 at commit
|
|
Test build #77129 has finished for PR 18037 at commit
|
|
looking... |
|
Was spark.executor.extraClassPath ever supported in Mesos? I see no code for it. |
|
Yes, it just set |
srowen
left a comment
There was a problem hiding this comment.
I trust your judgment on this one
|
It looks like Standalone gets around this by constructing a raw I don't really see why we would have deprecated |
|
Neither standalone nor YARN use env variables to create the executor's classpath, so I guess that's why Mesos was missed. I'd rather Mesos stop using env variables too, but that's a bigger change, and I want to get this in 2.2.0 to avoid a pretty user-visible regression. |
|
It looks like YARN just sets the generic java |
|
YARN does not run |
|
I'm gonna merge this to unblock 2.2; if there's a desire to clean up this code later, we can do it separately. |
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #18037 from vanzin/SPARK-20814. (cherry picked from commit df64fa7) Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #18037 from vanzin/SPARK-20814.
Restore code that was removed as part of SPARK-17979, but instead of using the deprecated env variable name to propagate the class path, use a new one. Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend" manually. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes apache#18037 from vanzin/SPARK-20814.
Restore code that was removed as part of SPARK-17979, but instead of
using the deprecated env variable name to propagate the class path, use
a new one.
Verified by running "./bin/spark-class o.a.s.executor.CoarseGrainedExecutorBackend"
manually.